<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/layui/css/layui.css" media="all">
</head>
<body>
<div class="layui-container" style="margin-top: 50px;">

    <div class="layui-container" style="width: 500px;height: 330px;padding-top: 60px;">
        <form class="layui-form" action="/client/demand/save" method="post">
<!--            <div class="layui-form-item">-->
<!--                <label class="layui-form-label">出发地：</label>-->
<!--                <div class="layui-inline">-->
<!--                    <input type="text" name="departure" lay-verify="required" autocomplete="off" placeholder="请输入出发地" class="layui-input">-->
<!--                </div>-->
<!--            </div>-->
            <div class="layui-form-item">
                <label class="layui-form-label">目的地：</label>
                <div class="layui-inline">
                    <input type="text" name="destination" lay-verify="required" placeholder="请输入目的地" autocomplete="off" class="layui-input">
                </div>
<!--            </div>-->
<!--            <div class="layui-form-item">-->
<!--                <label class="layui-form-label">用户名：</label>-->
<!--                <div class="layui-inline">-->
<!--                    <input type="text" name="name" lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input">-->
<!--                </div>-->
<!--            </div>-->
            <div class="layui-form-item">
                <button class="layui-btn" lay-submit="" lay-filter="demo2" style="margin-left: 160px;">约车</button>
            </div>
        </form>
    </div>
</div>
<script src="/layui/layui.js" charset="utf-8"></script>
<script src="js/jquery-3.3.1.min.js"></script>
<!--<script>-->

<!--    layui.use(['form', 'element'], function(){-->
<!--        var form = layui.form;-->
<!--        var element = layui.element;-->
<!--        // /*查询所有菜品分类*/-->
<!--        // $.ajax({-->
<!--        //     url: "/client/menu/findTypes",-->
<!--        //     type: "GET",-->
<!--        //     success: function (result) {-->
<!--        //         var type = result.extend.types;-->
<!--        //         $.each(type, function (index, item) {-->
<!--        //             $("<option></option>").append(item.name).attr("value", item.id).appendTo("#motaikunag select");-->
<!--        //         });-->
<!--        //         form.render();-->
<!--        //     }-->
<!--        // });-->
<!--        //自定义验证规则-->
<!--        // form.verify({-->
<!--        //     price: [/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/, "请输入正确的价格"]-->
<!--        // });-->

<!--    });-->
<!--</script>-->
</body>
</html>